﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="EditProfile.aspx.vb" Inherits="mybaconrecipe.EditProfile" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <!--<h1>Edit Profile</h1>-->
    <div id="lhsPane">
        <div id="profileHeader">
            <div id="imgprofileHeader">
                <asp:Image ID="profile_Image" runat="server" CssClass="profileImage" />
            </div>
            <div id="namsurprofileHeader">
            <h1>
                <asp:Label ID="profile_FirstName" runat="server"></asp:Label><br />
                <asp:Label ID="profile_LastName" runat="server"></asp:Label>
            </h1>
            </div>
        </div>
        <div id="profileLinksContainer">
            <ul>
            <li>
                <span class="profile_Label">From</span><br />
                <asp:Label ID="profile_Country" runat="server"></asp:Label>
            </li>

            <li>
                <span class="profile_Label">Born On</span><br />
                <asp:Label ID="profile_DOB" runat="server"></asp:Label>
            </li>

            <li>
                <span class="profile_Label">E-Mail</span><br />
                <asp:Label ID="profile_Email" runat="server"></asp:Label>
            </li>

            <li>
                <span class="profile_Label">Bio</span><br />
                <asp:Label ID="profile_Biography" runat="server"></asp:Label>
            </li>
            <li></li>
            </ul>
        </div>
    
    </div>
    <div id="rhsPane">
                <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" 
                    UseVerticalStripPlacement="False" CssClass="MyTabStyle">
                <asp:TabPanel runat="server" HeaderText="Activity" ID="TabPanel1">
                    <ContentTemplate>
                    </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Edit Profile">
                    <ContentTemplate>
                            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                            </asp:ToolkitScriptManager>
                        <table cellpadding="0" cellspacing="0" class="frmTable">
                        <tr>
                        <td class="lbl_frmTable">First Name</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:TextBox ID="tb_PrFName" runat="server" CssClass="textEntry"></asp:TextBox></td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">Last Name</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:TextBox ID="tb_PrLName" runat="server" CssClass="textEntry"></asp:TextBox></td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">Country</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:DropDownList ID="ddl_PrCountry" runat="server" 
                                DataSourceID="CountryDataSource" DataTextField="CTRY_NAME" 
                                DataValueField="CTRY_ID" CssClass="textEntry">
                            </asp:DropDownList>
                            <asp:SqlDataSource ID="CountryDataSource" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:recipeConnectionString %>" 
                                ProviderName="<%$ ConnectionStrings:recipeConnectionString.ProviderName %>" 
                                SelectCommand="SELECT [CTRY_ID], [CTRY_NAME] FROM [COUNTRY]">
                            </asp:SqlDataSource>
                        </td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">Date Of Birth</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:TextBox ID="tb_PrDOB" runat="server" CssClass="textEntry"></asp:TextBox>
                            <asp:CalendarExtender ID="tb_PrDOB_CalendarExtender" runat="server" 
                                Enabled="True" TargetControlID="tb_PrDOB">
                            </asp:CalendarExtender>
                            </td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">E-Mail Address</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:TextBox ID="tb_PrEmail" runat="server" CssClass="textEntry"></asp:TextBox></td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">Biography</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:TextBox ID="tb_PrBio" runat="server" CssClass="textEntry" TextMode="MultiLine"></asp:TextBox></td>
                        </tr>
                        <tr>
                        <td class="lbl_frmTable">Photo</td>
                        </tr>
                        <tr>
                        <td class="inp_frmTable">
                            <asp:FileUpload ID="fup_PrPhoto" runat="server" /></td>
                        </tr>
                        <tr>
                        <td></td>
                        </tr>
                        <tr>
                        <td>
                            <asp:Button ID="btn_PrSaveProfile" runat="server" Text="Save Profile" CssClass="btn_Form" /></td>
                        </tr>                                          
                        </table>       
                    </ContentTemplate>  
                </asp:TabPanel>
            </asp:TabContainer>

            
        
 

    </div>
    <p>
    <br />
    </p>
</asp:Content>
